package com.okaixz.client.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author cdz
 * @since 2024-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("goods")
@ApiModel(value="Goods对象", description="")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "价格")
    private Double price;

    @ApiModelProperty(value = "有效天数")
    private Integer expireDays;

    @ApiModelProperty(value = "类型0正常1不限字数")
    private Integer type;

    @ApiModelProperty(value = "描述信息")
    private String msg;
    @ApiModelProperty(value = "客户端名称")
    private String clientName;
    @ApiModelProperty(value = "排序号 数值越大越靠前")
    private Integer  orderNum;

    @ApiModelProperty(value = "ai字符数")
    private Integer token;
    @ApiModelProperty(value = "商品状态")
    private Integer status;//2下架 1上架
    @ApiModelProperty(value = "限制次数")
    private Integer limitNum;//2下架 1上架


}
